Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(NODE-3194): Ignore undefined and null options in MongoClient constructor #2800

Merged
merged 4 commits into from
May 10, 2021

Conversation

dariakp
Copy link
Contributor

@dariakp dariakp commented May 5, 2021

Description

Fix NODE-3194: MongoClient constructor should not try to parse undefined or null options

@dariakp dariakp requested review from a team, durran, emadum and nbbeeken and removed request for a team May 5, 2021 21:11
@dariakp dariakp marked this pull request as draft May 5, 2021 22:03
@dariakp dariakp force-pushed the NODE-3194/allow-passing-undefined-opts-to-MongoClient branch from bc134aa to 55b08b5 Compare May 6, 2021 14:50
@dariakp dariakp marked this pull request as ready for review May 6, 2021 14:50
src/connection_string.ts Outdated Show resolved Hide resolved
test/unit/mongo_client_options.test.js Outdated Show resolved Hide resolved
@dariakp dariakp requested a review from nbbeeken May 6, 2021 19:01
Copy link
Contributor

@nbbeeken nbbeeken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Member

@durran durran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dariakp dariakp merged commit 8bb92f9 into 4.0 May 10, 2021
@dariakp dariakp deleted the NODE-3194/allow-passing-undefined-opts-to-MongoClient branch May 10, 2021 15:11
ljhaywar pushed a commit that referenced this pull request Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants